package com.jymj.dao;

import com.jymj.entity.Analysis.*;
import com.jymj.entity.KeyValueEntity;
import com.jymj.entity.dto.ReportDto;
import com.jymj.entity.landmanage.PjEnviorSupvsEntity;
import com.jymj.entity.landmanage.PointDjEntity;
import com.jymj.entity.landmanage.PointRecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;


/**
 * Created by ${lc} on 2021/2/3.
 */
@Mapper
public interface AnalysisDao {
    List<RjhjzgtjEntity> selectRjhjzgtj(@Param(value = "date")String date);

    List<MonthlySummaryPoint> queryMonthlySummaryPoint(@Param(value = "date") String data);

    List<MonthlySummaryPointRectify> monthlySummaryPointRectifies(@Param(value = "date")String data);

    List<UnqualifiedCountyEntity> queryUnqualified(@Param(value = "date")String date);

    List<SpecialEntity> querySpecial(SpecialParam specialParam);

    List<SpecialEntity> querySpecialCun(SpecialParam specialParam);

    List<ToiletsEntity> queryToilets(@Param(value = "date") String date);

    List<WtDateEntity> queryDate(@Param("date") String date);

    List<PatrolEntity> queryCunByDate(@Param("date") String date);

    List<HjzzLogEntity> queryLogByCun(@Param("date") String date,@Param("type") Integer type);

    List<PjEnviorSupvsEntity> queryGcwt(@Param("date") String date,@Param("code") String code,
                                        @Param("type") Integer type);

    List<ProblemFlEntity> queryCn(@Param("date") String date,@Param("code")  String code,
                                  @Param("cnw") int cnw,@Param("type") Integer type);

    List<TownProblemCountEntity> queryTownProblem();

    List<WttzEntity> queryTz(@Param("date") String date,@Param("type") Integer type);

    List<TownProblemCountEntity> queryWzg(ReportDto reportDto);

    String queryGcbh(Integer id);

    void saveGzwt(OnAccountEntity onAccountEntity);

    List<OnAccountDeductionEntity> getOnAccountDeduction(String date);

    OnAccountEntity getOnAccountByDate(@Param("date") String date, @Param("type") Integer type);

    List<HjzzLogEntity> getLogByCun(@Param("date") String date, @Param("type") Integer type);

    List<PjEnviorSupvsEntity> getGcwt(@Param("date") String date, @Param("code") String code, @Param("type") Integer type);

    List<DayProblemEntity> getCn(@Param("date") String date, @Param("code") String code,
                                @Param("cnw") int cnw, @Param("type") Integer type);

    List<PointRecordEntity> getDjByMon();

    List<PointDjEntity> queryDjtj(@Param("date") String date, @Param("id") Integer id);

    List<WzgqkEntity> getWzgqk(@Param("date") String date);

    List<KeyValueEntity> getWzgqkcun(@Param("date") String date, @Param("code") String code);
}
